package com.yehuishou.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yehuishou.dao.LunBoDao;
import com.yehuishou.pojo.LunBo;
import com.yehuishou.service.LunBoService;

@Service
public class LunBoServiceImpl implements LunBoService {
	
	@Autowired
	private LunBoDao lunBoDao;
	
	
	@Override
	public List<LunBo> LunBoFindAll(LunBo lunbo) {
		List<LunBo> lb = lunBoDao.LunBoFindAll(lunbo);
		return lb;
		
	}


	@Override
	public Integer InsertLunBo(LunBo lunBo) {
		
		Integer lb = lunBoDao.InsertLunBo(lunBo);
		
		return lb;
	}


	@Override
	public Integer deleteLunBo(Integer lbid) {
		
		return lunBoDao.deleteLunBo(lbid);
	}

}
